package com.cheyun.netsalev3.mock;

import com.cheyun.netsalev3.bean.aftersale.CarOwnerData;
import com.cheyun.netsalev3.bean.aftersale.CarOwnerParam;
import com.cheyun.netsalev3.bean.aftersale.DriveData;
import com.cheyun.netsalev3.bean.aftersale.DriveDetail;
import com.cheyun.netsalev3.bean.aftersale.DriveParam;
import com.cheyun.netsalev3.bean.aftersale.MaintenanceData;
import com.cheyun.netsalev3.bean.aftersale.MaintenanceDetail;
import com.cheyun.netsalev3.bean.aftersale.MaintenanceParam;

import java.util.ArrayList;

public class AfterSale {
    public static MaintenanceParam getMaintenanceData(){
        ArrayList<MaintenanceData> s = new ArrayList<>();
//        for (int i = 0; i < 10; i++) {
//            s.add(new MaintenanceData(i,i,"张三要要要"+i,"15855555555"));
//        }

        MaintenanceParam param = new MaintenanceParam(s,10);
        return param;
    }

    public static DriveParam getDriveData(){
        ArrayList<DriveData> s = new ArrayList<>();
//        for (int i = 0; i < 10; i++) {
//            s.add(new DriveData(i,i,"张三要要要"+i,"15855555555"));
//        }

        DriveParam param = new DriveParam(s,10);
        return param;
    }

    public static MaintenanceDetail getMaintenanceDetail(){
//        return new MaintenanceDetail(1,1,"","");
        return null;
    }

    public static DriveDetail getDriveDetail(){
//        return new DriveDetail(1,1,"","");
        return null;
    }

    public static CarOwnerParam getCarOwnerData(){
        ArrayList<CarOwnerData> s = new ArrayList<>();
//        for (int i = 0; i < 10; i++) {
//            s.add(new CarOwnerData(i,i,"张三要要要"+i,"15855555555"));
//        }

        CarOwnerParam param = new CarOwnerParam(s,10);
        return param;
    }
}
